grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
//grails.project.war.file = "target/${appName}-${appVersion}.war"
grails.project.dependency.resolution = {
    // inherit Grails' default dependencies
    inherits("global") {
        // uncomment to disable ehcache
        // excludes 'ehcache'
    }
    log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    repositories {
        grailsPlugins()
        grailsHome()
        grailsCentral()

        // uncomment the below to enable remote dependency resolution
        // from public Maven repositories
        //mavenLocal()
        mavenCentral()
		mavenRepo "http://repo2.maven.org/maven2/"
		mavenRepo "http://repository.jboss.com/maven2/"
		mavenRepo "https://oss.sonatype.org/content/repositories/snapshots"
        //mavenRepo "http://snapshots.repository.codehaus.org"
        //mavenRepo "http://repository.codehaus.org"
        //mavenRepo "http://download.java.net/maven/2/"
        //mavenRepo "http://repository.jboss.com/maven2/"
    }
    dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
		compile('org.codehaus.groovy.modules.http-builder:http-builder:0.5.0',
			'org.apache.httpcomponents:httpmime:4.0',
			'c3p0:c3p0:0.9.1.2',
			'org.bouncycastle:bcprov-jdk16:1.45',
			'org.bouncycastle:bcmail-jdk16:1.45',
			'javax.mail:mail:1.4.1',
			'javax.activation:activation:1.1.1',
			'com.h2database:h2:1.2.143',
			'org.cometd.java:bayeux-api:2.1.0-SNAPSHOT',
			'org.cometd.java:cometd-java-client:2.1.0-SNAPSHOT',
			'org.cometd.java:cometd-java-common:2.1.0-SNAPSHOT',
			'org.cometd.java:cometd-java-oort:2.1.0-SNAPSHOT',
			'org.cometd.java:cometd-java-server:2.1.0-SNAPSHOT',
			'org.eclipse.jetty:jetty-client:7.2.0.RC0',
			'org.eclipse.jetty:jetty-continuation:7.2.0.RC0',
			'org.eclipse.jetty:jetty-http:7.2.0.RC0',
			'org.eclipse.jetty:jetty-io:7.2.0.RC0',
			'org.eclipse.jetty:jetty-servlet:7.2.0.RC0',
			'org.eclipse.jetty:jetty-util:7.2.0.RC0',
			'org.eclipse.jetty:jetty-websocket:7.2.0.RC0',
			'org.hibernate:hibernate-search:3.1.1.GA',
			'org.apache.lucene:lucene-core:2.4.1',
			'org.apache.lucene:lucene-snowball:2.4.1',
			'org.apache.solr:solr-common:1.3.0', 
			'org.apache.solr:solr-core:1.3.0',
			'net.tanesha.recaptcha4j:recaptcha4j:0.0.7'
			) {
			excludes 'xalan'
			excludes 'xml-apis'
			excludes 'groovy'
			excludes 'commons-io'
		}
        // runtime 'mysql:mysql-connector-java:5.1.5'
    }
}
